<div>
<img src="<?php echo base_url();?>img/app/mail.png">
<strong>Anda mempunyai <?php echo $count?> pesan baru!</strong>

<br>pesan terakhir :
<ul>
<?php 
foreach ($msgs as $msg){
echo "<li>";
echo $msg['from'];
echo " : ".$msg['isi'].'</li';

}
?>

</ul>

</div>